<div :class="{ 'grid': true, 'show-paging-bar': isEnablePagingBar, 'hidden-paging-bar': !isEnablePagingBar }">
    <i-form>
        <el-table v-if="isDisplay === true"
            :default-sort="{ prop: minorSortPSDEF, order: Object.is(minorSortDir, 'ASC') ? 'ascending' : Object.is(minorSortDir, 'DESC') ? 'descending' : '' }"  
            @sort-change="onSortChange($event)"  
            :border="isDragendCol"
            :highlight-current-row ="isSingleSelect"
            :row-class-name="getRowClassName.bind(_self)"
            :cell-class-name="getCellClassName.bind(_self)"
            size="mini"
            stripe
            :height="tableHeight"
            @row-click="rowClick($event)"  
            @select-all="selectAll($event)"  
            @select="select($event)"  
            @row-class-name="onRowClassName($event)"  
            @row-dblclick="rowDBLClick($event)"  
            ref='multipleTable' :data="items" :show-header="!isHideHeader"
        >
            <template slot="empty">
                {{$t('entities.hr_resume_line.lineedit_grid.nodata')}} 
                <span class="quick-toolbar">
                </span>
            </template>
            <template v-if="!isSingleSelect">
                <el-table-column align="center" type='selection' :width="checkboxColWidth"></el-table-column>
            </template>
            <template v-if="getColumnState('name')">
                <el-table-column show-overflow-tooltip :prop="'name'" :label="$t('entities.hr_resume_line.lineedit_grid.columns.name')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.hr_resume_line.lineedit_grid.columns.name')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='name' editorType="TEXTBOX" :value="row.name" dataType="TEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('display_type')">
                <el-table-column show-overflow-tooltip :prop="'display_type'" :label="$t('entities.hr_resume_line.lineedit_grid.columns.display_type')" :width="100"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.hr_resume_line.lineedit_grid.columns.display_type')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <codelist :value="row.display_type" tag='HR_RESUME_LINE__DISPLAY_TYPE' codelistType='STATIC' ></codelist>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('line_type_id_text')">
                <el-table-column show-overflow-tooltip :prop="'line_type_id_text'" :label="$t('entities.hr_resume_line.lineedit_grid.columns.line_type_id_text')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.hr_resume_line.lineedit_grid.columns.line_type_id_text')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='line_type_id_text' editorType="PICKER" :value="row.line_type_id_text" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('date_start')">
                <el-table-column show-overflow-tooltip :prop="'date_start'" :label="$t('entities.hr_resume_line.lineedit_grid.columns.date_start')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.hr_resume_line.lineedit_grid.columns.date_start')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='date_start' editorType="DATEPICKER" :value="row.date_start" dataType="DATE" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('date_end')">
                <el-table-column show-overflow-tooltip :prop="'date_end'" :label="$t('entities.hr_resume_line.lineedit_grid.columns.date_end')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.hr_resume_line.lineedit_grid.columns.date_end')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='date_end' editorType="DATEPICKER" :value="row.date_end" dataType="DATE" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('employee_id')">
                <el-table-column show-overflow-tooltip :prop="'employee_id'" :label="$t('entities.hr_resume_line.lineedit_grid.columns.employee_id')" :width="100"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.hr_resume_line.lineedit_grid.columns.employee_id')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <span>{{row.employee_id}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('line_type_id')">
                <el-table-column show-overflow-tooltip :prop="'line_type_id'" :label="$t('entities.hr_resume_line.lineedit_grid.columns.line_type_id')" :width="100"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.hr_resume_line.lineedit_grid.columns.line_type_id')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <span>{{row.line_type_id}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('write_uid')">
                <el-table-column show-overflow-tooltip :prop="'write_uid'" :label="$t('entities.hr_resume_line.lineedit_grid.columns.write_uid')" :width="100"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.hr_resume_line.lineedit_grid.columns.write_uid')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <span>{{row.write_uid}}</span>
                    </template>
                </el-table-column>
            </template>
            <template v-if="adaptiveState">
                <el-table-column></el-table-column>
            </template>
        </el-table>
    </i-form>
</div>